﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Barry.BarbeSystem.Models;
using NHibernate;
using NHibernate.Linq;
using System.Linq.Expressions;
namespace Barry.BarbeSystem
{
    public class T
    {
        public static IList<T> GetAll()
        {
            var session = NHibernateHelper.OpenSession();
            return session.Query<T>().ToList();
        }

      


    }
}